
use "/Users/scottfabramson/Dropbox/io_endogenous_replication/main_text_do/tables/table_4/table_4.dta",clear








***** Table 4 *****



*** Left Panel ***

reg U_y U_x Textiles, robust 


eststo a1

reg U_y U_x Textiles rivers agri rugged coast_length coast_dist X_x Y_x, robust 

eststo a2


reg U_y U_x total_Iron, robust 

eststo a3


reg U_y U_x  total_Iron rivers agri rugged coast_length coast_dist X_x Y_x, robust 

eststo a4


reg U_y U_x total_proto, robust 

eststo a5


reg U_y U_x total_proto rivers agri rugged coast_length coast_dist X_x Y_x, robust 

eststo a6 



***** Right Panel *****




reg logU_y logU_x Textiles, robust

eststo a7


reg logU_y logU_x Textiles rivers agri rugged coast_length coast_dist X_x Y_x, robust 


eststo a8


reg logU_y logU_x total_Iron, robust

eststo a9

reg logU_y logU_x total_Iron rivers agri rugged coast_length coast_dist X_x Y_x, robust 

eststo a10




reg logU_y logU_x total_proto, robust

eststo a11

reg logU_y logU_x total_proto rivers agri rugged coast_length coast_dist X_x Y_x, robust 

eststo a12





estout a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12, cells(b(star fmt(2)) se(par fmt(2))) style(tex) stats(N r2)


